package com.fbn;

import javax.validation.constraints.NotNull;
import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import com.fbn.Equipment;
import javax.persistence.ManyToOne;

@RooJavaBean
@RooToString
@RooEntity
public class Seat {

    @NotNull
    private int id;

    private String seatNumber;

    @ManyToOne
    private Equipment equipment;
}
